ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DataStream Class / WriteRange Method / WriteRange<T>(T[]) Method
An array of values to be written to the current stream.

In This Topic
    WriteRange<T>(T[]) Method
    In This Topic
    Writes an array of values to the current stream, and advances the current position within this stream by the number of bytes written.
    Syntax
    'Declaration
     
    Public Overloads Sub WriteRange(Of T As {New, Struct})( _
       ByVal data() As T _
    ) 
    public void WriteRange<T>( 
       T[] data
    )
    where T: new(), struct

    Parameters

    data
    An array of values to be written to the current stream.

    Type Parameters

    T
    Exceptions
    ExceptionDescription
    This stream does not support writing.
    Remarks
    In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
    See Also